#region Usings

#endregion

using System.ComponentModel.DataAnnotations;

namespace BK.Model
{
    public class Account : UserDependedEntity
    {
        #region C'tors
        public Account()
        {
        }
        
        public Account(string name, User user, Currency currency)
        {
            Name = name;
            User = user;
            Currency = currency;
        }
        #endregion

        #region Instance Properties
        [Required]
        public virtual Currency Currency { get; set; }

        [Required]
        public string Name { get; set; }
        #endregion
    }
}